{% extends 'layout/main.html' %}
{% from 'macros/_macros.html' import form_field %}

{% block content_header %}
<div class="row page-titles">
  <div class="col-md-5 col-8 align-self-center">
    <ol class="breadcrumb">
      <li class="breadcrumb-item"><a href="javascript:void(0)">首页</a></li>
      <li class="breadcrumb-item">栏目管理</li>
      <li class="breadcrumb-item active">修改栏目 {{ form.title.data }}</li>
    </ol>
  </div>
</div>
{% endblock %}

{% block content %}
<div class="card">
  <!-- /.box-header -->
  <div class="card-body">
      <form class="form-material" method="post" action="">
        {{ form.csrf_token }}
        {{ form_field(form.pid, placeholder='上一级', class_='form-control')}}
        {{ form_field(form.title, placeholder='标题', class_='form-control')}}
        {{ form.submit(class_='btn btn-primary') }}
      </form>
  </div>
</div>

{% endblock %}